//
//  NetWorkRequestManager.h
//  NetWorkRequestDemo
//
//  Created by 卢浩 on 16/4/16.
//  Copyright © 2016年 卢浩. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger){
    GET,
    POST
}RequestType;

typedef void(^ResultBlock)(NSData *data,NSURLResponse *response,NSError *error);

@interface NetWorkRequestManager : NSObject

+ (void)requestWithUrl:(NSURL *)url Type:(RequestType)type Params:(NSDictionary *)params ResultBlock:(ResultBlock)block;

@end
